package com.manage.platform.properties;

import lombok.Data;
import lombok.Getter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * YWD
 * 2025/9/19
 */
@Data
@Component
@ConfigurationProperties(prefix = "spring.cloud.alicloud")
public class AliCloudProperties {

    private String accessKey;
    private String secretKey;
    private Oss oss;

    @Data
    public static class Oss {
        private String endpoint;
        private String bucket;
        private String host;
    }

}
